* {
    padding: 0;
    margin: 0;
}

@font-face {
    font-family: myCodeFont;
    src: url('../../blog/font/SourceCodePro-Regular.ttf');
}

html::-webkit-scrollbar {
    display: none; /* Chrome Safari */
}

html {
    scrollbar-width: none; /* firefox */
    -ms-overflow-style: none; /* IE 10+ */
}

body {
    position: relative;
    min-height: 100vh;
    box-sizing: border-box;
    margin: 0 !important;
    // background: rgba(223, 230, 233, 1.0);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 50px;
    --bg-1: linear-gradient(135deg, rgb(1, 173, 187), rgba(20, 132, 227, 1.0), #0052D9);
    --bg-2: linear-gradient(135deg, rgb(1, 173, 187), rgba(20, 132, 227, 1.0));
    --bg-3: linear-gradient(205deg, rgba(106, 241, 199, 0.8), rgba(0, 206, 201, 1), #0052D9);
}

body div.resume-head {
    position: relative;
    min-height: 100%;
    width: 80%;
    min-width: 960px;
    max-width: 1024px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    background: white;
    box-shadow: 0 0 10px rgba(99, 110, 114, .4);
    border-radius: 10px 10px 0 0;
}

body div.resume-head span.user {
    position: relative;
    width: auto;
    display: inline-block;
    box-sizing: border-box;
    font-size: 26px;
    color: rgba(45, 52, 54,1.0);
    padding: 20px 30px;
    text-align: left;
    letter-spacing: 1.3px;
    &::after {
        content: "PERSONAL RESUME";
        position: relative;
        bottom: 0;
        width: auto;
        height: auto;
        font-family: "myCodeFont";
        font-size: 12px ;
        letter-spacing: 1.3px;
        font-weight: 300;
        margin-left: 10px ;
        color:rgba(45, 52, 54, 0.8);
    }
}

body div.resume-head div.head-info-box {
    position: relative;
    // min-height: 270px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    box-sizing: border-box;
    color: white;
    font-family: "myCodeFont";

    .info-base {
        position: relative;
        width: 100%;
        // min-height: inherit;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
        // background: inherit;
        background-image: var(--bg-1);
        --head-img-width: 180px;

        .head-img-bg-holder {
            position: relative;
            width: var(--head-img-width);
            height: 100%;
            background: transparent;
        }

        .head-img-box {
            position: absolute;
            bottom: 0;
            right: 0;
            width: var(--head-img-width);
            height: auto;
            overflow: hidden;
            display: flex;
            flex-direction: row;
            justify-content: center;
            align-items: center;

            img {
                position: relative;
                width: 100%;
            }

            &.img-not-exit {
                width: 0 !important;
                height: 0 !important;
            }
        }


        .bottom-info {
            position: relative;
            height: auto;
            width: 100%;
            padding: 20px 50px 20px 30px;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            grid-template-rows: repeat(2, 1fr);
            grid-column-gap: 20px;
            grid-row-gap: 0px;
            box-sizing: border-box;
            //display: flex;
            //flex-direction: row;
            //justify-content: flex-start;
            //align-items: flex-start;
            //flex-wrap: wrap;
            &::before {
                content: "";
                display: block;
                position: absolute;
                bottom: 0;
                right: 10px;
                width: 30px;
                height: 100%;
                background: inherit;
                transform: skewX(-6deg);
                z-index: 100;
                // opacity: 0.5;
                background-image: var(--bg-3);
                // background: #0052D9;
            }

            .bottom-info-item {
                position: relative;
                display: flex;
                flex-direction: column;
                justify-content: flex-start;
                align-items: flex-start;
                width: auto;
                height: auto;

                .entry-title {
                    position: relative;
                    font-size: 14px;
                    width: 100%;
                    display: block;
                    box-sizing: border-box;
                    color: rgba(255, 255, 255, 0.6);
                    letter-spacing: 1.3px;
                }

                .entry-title {
                    line-height: 20px;
                }

                .entry-data {
                    position: relative;
                    font-size: 18px;
                    display: block;
                    margin-top: 5px;
                    line-height: 20px;
                }

                &.emails {
                    .entry-data {
                        letter-spacing: 0.7px;
                        font-weight: 300;
                        font-size: 16px;
                    }
                }
            }
        }
    }
}

body main.resume-body {
    position: relative;
    min-height: 100%;
    width: 80%;
    min-width: 960px;
    max-width: 1024px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background: white;
    box-shadow: 0 0 10px rgba(99, 110, 114, .4);
    border-radius: 0 0 10px 10px;
    margin-top: 30px;

    .item-box {
        position: relative;
        margin-bottom: 15px;
        padding-top: 50px;

        .item-top-title {
            position: absolute;
            left: 0;
            top: 0;
            padding: 10px 30px;
            background-image: var(--bg-2);
            color: white;
            font-size: 20px;
            letter-spacing: 1.3px;
            border-radius: 0 0 10px 0;
            box-sizing: border-box;
        }

        .item-title {
            position: absolute;
            left: 0;
            top: 0;
            padding: 10px 30px;
            width: auto;
            display: inline-block;
            box-sizing: border-box;
            font-size: 20px;
            letter-spacing: 1.3px;

            &::before {
                content: "";
                position: absolute;
                left: 0;
                top: 0;
                width: 100%;
                height: 2px;
                display: inline-block;
                background-image: var(--bg-2);
            }
        }
    }

    .edu-info {
        position: relative;
        height: auto;
        // width: calc(100% ~"-" 150px);
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        box-sizing: border-box;
        color: black;

        .edu-info {
            position: relative;
            height: auto;
            width: 100%;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
            flex-wrap: wrap;
            padding: 0px 30px 15px 30px;
            box-sizing: border-box;

            .edu-info-body {
                position: relative;
                width: 100%;
                display: flex;
                flex-direction: row;
                justify-content: space-between;
                align-items: flex-start;
                box-sizing: border-box;
                padding-right: 30px;

                .edu-info-item {
                    position: relative;
                    display: flex;
                    flex-direction: column;
                    justify-content: flex-start;
                    align-items: flex-start;
                    width: auto;
                    height: auto;

                    .entry-title {
                        position: relative;
                        font-size: 14px;
                        width: 100%;
                        display: block;
                        box-sizing: border-box;
                        color: rgba(0, 0, 0, 0.6);
                        letter-spacing: 1.3px;
                    }

                    .entry-data {
                        position: relative;
                        font-size: 18px;
                        display: block;
                        margin-top: 5px;
                    }

                }
            }

        }
    }

    .item-box {
        position: relative;
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;

        .time-through {
            position: relative;
            left: 0;
            bottom: 0;
            width: 100%;
            display: flex;
            flex-direction: row;
            justify-content: flex-start;
            align-items: center;
            box-sizing: border-box;
            margin-bottom: 0;
            padding-right: 20px;

            .entry-data {
                letter-spacing: 0.5px;
                width: auto;
                font-size: 18px;
            }

            .line-holder {
                content: "";
                position: relative;
                flex: 1;
                height: 1px;
                background: rgba(0, 0, 0, 0.6);;
                margin: 0 15px;
            }

            .edu-info-item-sub {
                position: relative;
                display: flex;
                flex-direction: column;
                justify-content: flex-start;
                align-items: flex-end;
                width: auto;
                box-sizing: border-box;

                .entry-title {
                    width: auto;
                    display: flex;
                    flex-direction: column;
                    justify-content: flex-end;
                    align-items: center;
                    box-sizing: border-box;
                }

                .entry-data {
                    display: inline-block;
                    width: auto;
                }
            }
        }
        .entry-box {
            position: relative;
            padding: 0px 30px 10px 30px;
            width: 100% ;
        }
        .data-box {
            position: relative;
            padding: 0px 30px 10px 30px;
            .data-title {
                position: relative;
                font-size: 14px;
                width: 100%;
                display: block;
                box-sizing: border-box;
                color: rgba(0, 0, 0, 0.6);
                letter-spacing: 1.3px;
            }
            .data {
                position: relative;
                font-size: 18px;
                display: inline-block;
                margin-top: 5px;
                margin-right: 5px;
            }
        }
    }
}